<template>
    <!--承运人-->
    <div id="CarrierDetails">
        <v-details :detailData="inputData" :inputConfig="inputConfig"></v-details>
    </div>
</template>

<script>
import details from "commons/Detail";
import baseMixin from "@/mixins/BaseMixin";

export default {
    name: "CarrierDetails",
    mixins: [baseMixin],
    props: {
        inputData: {
            type: Object
        }
    },
    data() {
        return {
            inputConfig: [
                [
                    {
                        type: "input",
                        label: "UDF1",
                        props: "susr1",
                        disabled: true
                    },
                    {
                        type: "input",
                        label: "UDF2",
                        props: "susr2",
                        disabled: true
                    },
                    {
                        type: "input",
                        label: "UDF3",
                        props: "susr3",
                        disabled: true
                    },
                    {
                        type: "input",
                        label: "UDF4",
                        props: "susr4",
                        disabled: true
                    },
                    {
                        type: "input",
                        label: "UDF5",
                        props: "buyeraddress4",
                        disabled: true
                    },
                ],
                [
                    {
                        type: "select",
                        label: this.$t('outbound.allocation'),
                        props: "apportionrule",
                        options: this.getOptions("codelkup/APPORTRULE"),
                        disabled: true
                    },
                    {
                        type: "textarea",
                        label: this.$t('common.note'),
                        props: "notes",
                        disabled: true
                    },
                ],
            ]
        };
    },
    methods: {
        setdata(data, id, close) {

        }
    },
    mounted() {
    },
    components: {
        "v-details": details
    }
};
</script>

<style scoped>
</style>

